﻿using Mes.Domain.BoundedContext.EntityBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mes.Domain.BoundedContext.Entities.WorkOrders
{
    public class JobHourHistory : NoIdEntityBase
    {
        public JobHourHistory() { }

        public int Ent_Id { get; set; }

        public string Wo_Id { get; set; }

        public string Oper_Id { get; set; }

        public DateTime Job_Start_Utc { get; set; }

        public DateTime Hour_Start_Utc { get; set; }

        public DateTime Hour_Start_Local { get; set; }

        public DateTime Hour_End_Utc { get; set; }

        public DateTime Hour_End_Local { get; set; }

        public int Item_Id { get; set; }

        public double Std_Prod_Rate { get; set; }

        public double Batch_Size { get; set; }

        public double Qty_Good { get; set; }

        public double Qty_Reject { get; set; }

        public double Runtime { get; set; }

        public double Downtime { get; set; }

        public double Idletime { get; set; }

        public string? Last_Edit_Comment { get; set; }

        public string? Last_Edit_At { get; set; }

        public int Row_Id { get; set; }
    }
}
